package org.speed.mes.base.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.speed.mes.base.domain.BsUnitMeasure;

import java.io.Serial;
import java.io.Serializable;


/**
 * 计量单位视图对象 bs_unit_measure
 *
 * @author Lion Li
 * @date 2024-06-13
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BsUnitMeasure.class)
public class BsUnitMeasureVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 计量单位id
     */
    @ExcelProperty(value = "计量单位id")
    private Long id;

    /**
     * 计量单位编码
     */
    @ExcelProperty(value = "计量单位编码")
    private String code;

    /**
     * 计量单位名称
     */
    @ExcelProperty(value = "计量单位名称")
    private String name;

    /**
     * 是否启用 0停用 1启用
     */
    @ExcelProperty(value = "是否启用 0停用 1启用")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
